<%@ include file="../include/import.jsp" %>
<!DOCTYPE html>
<html lang="en">
<head>
<jsp:include page="../include/htmlhead.jsp"/>
<link rel="stylesheet" href="../css/unicorn.login.css" />
</head>
<body onload="javascript:$('#username').focus();">

	<div id="logo">
		<img src="../img/centient/logo_small.png" alt="" />
    </div>
    <div id="loginbox">            
        <form id="loginform" class="form-vertical" method = "POST" action="../../j_spring_security_check">
			<div name="errmsg" id = "errmsg">
			<c:choose>
				<c:when test="${!(empty errmsg)}">
					<p><font color="red"><c:out value="${errmsg}"/></font></p>
				</c:when>
				<c:otherwise>
					<p> Enter username and password to continue.</p>
				</c:otherwise>
				</c:choose>
			</div> 
            <div class="control-group">
                <div class="controls">
                    <div class="input-prepend">
                        <span class="add-on"><i class="icon-user"></i></span>
                        <input type="text" name="j_username" placeholder="Username" id="username"/>
                    </div>
                </div>
            </div>
            <div class="control-group">
                <div class="controls">
                    <div class="input-prepend">
                        <span class="add-on"><i class="icon-lock"></i></span>
                        <input type="password"  name="j_password"  placeholder="Password" />
                    </div>
                </div>
            </div>
            <div class="form-actions">
                <span class="pull-left">&nbsp;</span>
                <span class=""><input type="submit" class="btn btn-inverse" value="Login"/></span>
            </div>
        </form>
        <%--
        <form id="recoverform" action="#" class="form-vertical">
			<p>Enter your e-mail address below and we will send you instructions how to recover a password.</p>
			<div class="control-group">
                <div class="controls">
                    <div class="input-prepend">
                        <span class="add-on"><i class="icon-envelope"></i></span><input type="text" placeholder="E-mail address" />
                    </div>
                </div>
            </div>
            <div class="form-actions">
                <span class="pull-left"><a href="#" class="flip-link" id="to-login">&lt; Back to login</a></span>
                <span class="pull-right"><input type="submit" class="btn btn-inverse" value="Recover" /></span>
            </div>
        </form> --%>
    </div>
    <div id="logo">
        <a href="http://www.techstudio.com.sg" target="blank"><img src="../img/centient/techstudio.png" alt="" /></a>
    </div>

<jsp:include page="../include/footerscript.jsp"/>
</body>
</html>